Apparatus that causes a device to read an original after communication with the device via a short distance wireless communication

ABSTRACT

An apparatus that causes a device to print an image. The apparatus includes at least one processor, and a display screen. A state of the apparatus is changed from a first state to a second state when an image is settled as a print target by a user, the first state being a state in which the at least one processor does not cause the device to print the image even if the apparatus is put close to the device, and the second state being a state in which the at least one processor can cause the device to print the image if the apparatus is put close to the device. After the apparatus in the second state performs a short distance wireless communication with the device, the device prints the image.

This application is a continuation application of U.S. patentapplication Ser. No. 15/699,205, filed Sep. 8, 2017, which is acontinuation of U.S. patent application Ser. No. 14/656,717, filed Mar.13, 2015, now U.S. Pat. No. 9,794,425, which is a continuation of U.S.patent application Ser. No. 14/557,377, filed Dec. 1, 2014, now U.S.Pat. No. 9,794,424, and which is a continuation of U.S. patentapplication Ser. No. 13/770,872, filed Feb. 19, 2013, now abandoned,which claim the benefit of Japanese Patent Application No. 2012-048622,filed on Mar. 5, 2012, which are hereby incorporated by reference hereinin their entirety.

BACKGROUND OF THE INVENTION Field of the Invention

The present invention relates to an image processing apparatus and asystem that cooperates with that image processing apparatus and, moreparticularly, to an image processing apparatus capable ofcommunications, and a system that cooperates with that image processingapparatus.

Description of the Related Art

Some printing apparatuses that incorporate a wireless communicationsystem can be switched to a plurality of operation modes according tostates and operations. The operation modes include a normal operationmode, in which predetermined electrical power is supplied, a powersaving mode, in which electrical power lower than the normal operationmode is supplied, a soft power-OFF mode, in which electrical power lowerthan the power saving mode is supplied, and an AC-OFF mode, in whichelectrical power is not supplied at all.

Japanese Patent Laid-Open No. 2011-44092 discloses an arrangement inwhich, when a Near Field Communication (NFC) device receives a dataread/write request for an information processing apparatus in a powersaving mode from a communication terminal, the information processingapparatus is activated in response to a request from the NFC device.

A case will be examined in which, in a state in which an NFC device isconnected to the aforementioned printing apparatus and the printingapparatus is set in the power saving mode or the soft power-OFF mode,the technique of Japanese Patent Laid-Open No. 2011-44092 is applied.For example, when the printing apparatus in a mode such as the powersaving mode, which is different from the normal operation mode, isaccessed by the NFC device, electrical power is supplied to thatapparatus to activate the apparatus so as to exchange data. In thiscase, since electrical power is always supplied to the apparatus toactivate that apparatus even in a case in which power activation is notrequired, wasteful electrical power is consumed.

The present invention provides an image processing apparatus whichexchanges data with a communication device without wasting consumptionpower.

SUMMARY OF THE INVENTION

In order to achieve the above object, an image processing apparatusaccording to the present invention comprises a communication unit thatcommunicates with a communication device, and is configured to writedata received from the communication device in a memory, a storage unitconfigured to receive an operation request to the apparatus by thecommunication unit from the communication device, and to store theoperation request in the memory, a specifying unit configured to specifya function corresponding to the operation request of a plurality offunctions included in the apparatus in a state in which the storage unitstores the operation request in the memory, and a control unitconfigured to activate, when the specifying unit specifies the functionand that function is not activated, the function, and to control theactivated function.

According to the present invention, the image processing apparatus canexchange data with the communication device without wasting consumptionpower.

Further features of the present invention will become apparent from thefollowing description of exemplary embodiments with reference to theattached drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram showing an example of the configuration of awireless communication system.

FIG. 2 is a view showing the outer appearance of a portablecommunication terminal apparatus.

FIG. 3A is a view showing the outer appearance of an MFP.

FIG. 3B is a view showing the outer appearance of the MFP.

FIG. 4 is a view showing an example of an operation unit of the MFP.

FIG. 5A is a conceptual view of a passive mode in NFC communications.

FIG. 5B is a conceptual view of the passive mode in NFC communications.

FIG. 6A is a conceptual view of an active mode in NFC communications.

FIG. 6B is a conceptual view of the active mode in NFC communications.

FIG. 7 is a block diagram showing the arrangement of the portablecommunication terminal apparatus.

FIG. 8 is a block diagram showing the arrangement of the MFP.

FIG. 9 is a block diagram showing the detailed arrangement of an NFCunit.

FIG. 10A is a view showing an example of the UI configuration of theMFP.

FIG. 10B is a view showing an example of the UI configuration of theMFP.

FIG. 11 is a view showing the configuration of a RAM of the MFP.

FIG. 12 is a view showing the configuration of a nonvolatile memory ofthe MFP.

FIG. 13 is a view showing the configuration of an NFC memory of the MFP.

FIG. 14 is a flowchart required for the NFC unit to operate as aninitiator.

FIG. 15 is a chart showing the data exchange sequence in the passivemode.

FIG. 16 is a chart showing the data exchange sequence in the activemode.

FIG. 17 is a table showing an example of a communication packet of adata exchange request.

FIG. 18A is a view showing an example of a UI of a printer application.

FIG. 18B is a view showing an example of a UI of the printerapplication.

FIG. 18C is a view showing an example of a UI of the printerapplication.

FIG. 18D is a view showing an example of a UI of the printerapplication.

FIG. 18E is a view showing an example of a UI of the printerapplication.

FIG. 18F is a view showing an example of a UI of the printerapplication.

FIG. 18G is a view showing an example of a UI of the printerapplication.

FIG. 18H is a view showing an example of a UI of the printerapplication.

FIG. 18I is a view showing an example of a UI of the printerapplication.

FIG. 19A is a flowchart executed when an activation request is receivedfrom the portable communication terminal apparatus.

FIG. 19B is a flowchart executed when an activation request is receivedfrom the portable communication terminal apparatus.

FIG. 20 is a flowchart of an apparatus setting change when a normaloperation mode state is not set.

FIG. 21A is a flowchart of a print instruction when a normal operationmode state is not set.

FIG. 21B is a flowchart of a print instruction when a normal operationmode state is not set.

FIG. 22A is a flowchart of a scan instruction when a normal operationmode state is not set.

FIG. 22B is a flowchart of a scan instruction when a normal operationmode state is not set.

FIG. 23A is a flowchart of a copy instruction when a normal operationmode state is not set.

FIG. 23B is a flowchart of a copy instruction when a normal operationmode state is not set.

FIG. 24A is a flowchart of a FAX instruction when a normal operationmode state is not set.

FIG. 24B is a flowchart of a FAX instruction when a normal operationmode state is not set.

DESCRIPTION OF THE EMBODIMENTS

Embodiments of the present invention will be described in detail hereinwith reference to the drawings. Relative layouts of components, displayscreens, and the like, described in the embodiment do not, however,limit the scope of the present invention unless otherwise specified.

This embodiment will explain an example in which a communicationapparatus and an image processing apparatus exchange data using a shortdistance wireless communication method, and a startup (power activation)method of the image processing apparatus is changed in response to anoperation request of the communication apparatus. More specifically, atechnique for making data exchange via short distance wirelesscommunications, such as Near Field Communication (NFC), and changing anactivation method of the image communication apparatus in response to anoperation request of the communication apparatus or according to a stateof the apparatus, will be described.

Note that the short distance wireless communication means a wirelesscommunication represented by the NFC, a communication range of which isa relatively small predetermined range (for example, 1 cm to severalcm).

FIG. 1 shows the configuration of a wireless communication system.

A portable communication terminal apparatus 200 is connected to amulti-function printer (to be abbreviated as an MFP hereafter) 300 thatincludes print, scan, FAX, and copy modes as an image processingapparatus. The portable communication terminal apparatus 200 includes atleast two types of wireless communication units having differentauthentication methods and communication speeds. The portablecommunication terminal apparatus 200 is not particularly limited. Forexample, a personal information terminal, such as a PDA (PersonalDigital Assistant), mobile phone, digital camera, and the like, may beused as long as they can handle files to be printed.

The MFP 300 includes a reading function of reading a document placed ona platen, and a print function using a printing unit, such as an inkjetprinter, and may also include a FAX function and telephone function.

Both of the portable communication terminal apparatus 200 and the MFP300 have short distance wireless communication units using the NFC. Evenwhen no electrical power is supplied to the portable communicationterminal apparatus 200, when the portable communication terminalapparatus 200 is moved closer to the MFP 300 within a predetermineddistance range that allows the NFC communications, short distancewireless communications can be made. The MFP 300 may be connected to anexternal network, a personal computer, and a display via a communicationunit different from the NFC.

FIG. 2 shows the outer appearance of the portable communication terminalapparatus 200.

This embodiment will exemplify a smartphone. The “smartphone” means amulti-function mobile phone that incorporates a camera, a networkbrowser, a mail function, and the like, in addition to functions of amobile phone. An NFC unit 201, as a short distance wirelesscommunication unit, is a unit required to make communications using theNFC. When the NFC unit 201 is moved closer to a partner NFC unit withina predetermined distance range (for example, about 10 cm), they cancommunicate with each other in practice.

A Wireless Local Area Network (WLAN) unit 202 is a unit required to makecommunications via a WLAN, and is arranged inside the portablecommunication terminal apparatus 200. A display unit 203 is, forexample, a display including an LCD type display mechanism. An operationunit 204 includes a touch panel type operation mechanism, and detectspressing information of the user. As a representative operation method,the display unit 203 displays button icons and a software keyboard, andthe user presses the operation unit 204, thus issuing a button pressingevent. A power key 205 is used to turn on/off a power supply.

FIGS. 3A and 3B show the outer appearance of the MFP 300.

This embodiment will exemplify the MFP 300 having the reading function(scanner). In FIG. 3A, a platen 301 is a glass-like transparent tablethat is used to read a document placed on itself using a scanner. Adocument cover 302 is a cover required to prevent reading light fromexternally leaking at the time of reading by the scanner. A printingsheet insertion port 303 is an insertion port on which paper sheets ofvarious sizes are set. Paper sheets set on the printing sheet insertionport 303 are conveyed one by one to a printing unit, and are dischargedfrom a printing sheet discharge port 304 after a desired printingoperation.

In FIG. 3B, an operation/display unit 305 and NFC unit 306 are arrangedon an upper portion of the platen 302. The operation/display unit 305will be described in detail later with reference to FIG. 4. The NFC unit306 is a unit required to make short distance wireless communications,and is a place where the portable communication terminal apparatus 200is approximated to the MFP 300. A predetermined distance (about 10 cm)from the NFC unit 306 is an effective distance of a contact. A WLANantenna 307 is required to make WLAN communications, and is embedded.

FIG. 4 is a plan view of the operation/display unit 305.

A display unit 406 is a display screen used to display images and a userinterface, such as an operation menu, and includes, for example, a dotmatrix LCD. Arrow keys 401 are used for operations such as cursormovements on the display unit 406. A set key 402 is a key used to make asetting input. A function key 403 is used for operations, such asfunction settings. A start key 404 is used to issue a function executioninstruction, such as a print start instruction.

The NFC communications will be described below. When proximitycommunications are made using the NFC units, an apparatus that outputsan RF (Radio Frequency) field first to initiate a communication iscalled an initiator. Also, an apparatus that responds to a commandissued by the initiator to communicate with the initiator is called atarget.

A communication mode of the NFC unit includes a passive mode and anactive mode. In the passive mode, the target responds to a command ofthe initiator by performing load modulation. On the other hand, in theactive mode, the target responds to a command of the initiator by an RFfield generated by the target itself.

FIGS. 5A and 5B are conceptual views of the passive mode in the NFCcommunications.

When data 504 is transmitted from an initiator 501 to a target 502 inthe passive mode, as shown in FIG. 5A, the initiator 501 generates an RFfield 503. The initiator 501 transmits the data 504 to the target 502 bymodulating the RF field 503 by itself.

Also, when data 508 is transferred from a target 506 to an initiator 505in the passive mode, as shown in FIG. 5B, the initiator 505 generates anRF field 507 in the same manner as in FIG. 5A. The target 506 performsload modulation with respect to the RF field 507, thereby transmittingthe data 508 to the initiator 505.

FIGS. 6A and 6B are conceptual views of the active mode in the NFCcommunications.

When data 604 is transmitted from an initiator 601 to a target 602 inthe active mode, as shown in FIG. 6A, the initiator 601 generates an RFfield 603. The initiator 601 transmits the data 604 to the target 602 bymodulating the RF field 603 by itself. After completion of the datatransmission, the initiator 601 stops outputting the RF field 603.

On the other hand, when data 608 is transmitted from a target 608 to aninitiator 605 in the active mode, as shown in FIG. 6B, the target 606generates an RF field 607. The target 606 transmits the data 608 by theRF field 607 generated by itself, and stops outputting the RF field 607after completion of the transmission.

FIG. 7 is a block diagram showing the arrangement of the portablecommunication terminal apparatus 200.

The portable communication terminal apparatus 200 includes a main board701 that executes main control of the apparatus itself, a WLAN unit 717that makes WLAN communications, an NFC unit 718 that makes NFCcommunications, and a BT unit 721 that makes Bluetooth® communications.

In the main board 701, a CPU 702 is a system control unit, and controlsthe overall portable communication terminal apparatus 200. A ROM 703stores control programs to be executed by the CPU 702, embeddedoperating system (OS) program, and the like. In this embodiment,respective control programs stored in the ROM 703 implement softwarecontrol, such as scheduling and task switching under the management ofthe embedded OS stored in the ROM 703.

A RAM 704 includes an SRAM (Static RAM), or the like, stores data, suchas program control variables, also stores data, such as setting valuesregistered by the user and management data of the portable communicationterminal apparatus 200, and is assured with various work buffer areas.

An image memory 705 includes a memory, such as a DRAM (Dynamic RAM), andtemporarily stores image data received via a communication unit andthose that are read out from a data storage unit 712 so as to beprocessed by the CPU 702. In this case, the communication unit is acollective term of communication functions including the WLAN unit 717,NFC unit 718, and BT unit 721.

A nonvolatile memory 722 includes a memory, such as a flash memory, andstores data to be saved even after power-OFF. Such data include, forexample, an address book, a mail history, an incoming/outgoing callhistory, previously connected device information, and the like. Notethat the memory configuration is not limited to this. For example, theimage memory 705 and the RAM 704 may be shared, or data may be backed upin the data storage unit 712. In this embodiment, the DRAM is used asthe image memory 705. The present invention is not, however, limited tothis arrangement, since other storage media, such as a hard disk and anonvolatile memory, may be used.

A data conversion unit 706 executes analysis of a page descriptionlanguage (PDL), and the like, and data conversion, such as colorconversion and image conversion. A telephone unit 707 controls atelephone line, and realizes telephone communications by processingaudio data input/output via a loudspeaker unit 713. An operation unit708 controls signals of the operation unit 204 (FIG. 2). A GPS (GlobalPositioning System) 709 acquires position information, such as thecurrent latitude and longitude. A display unit 710 electronicallycontrols the display contents of the display unit 203 (FIG. 2), allowsvarious input operations, and can display operation states, statusconditions, and the like, of the MFP 300.

A camera unit 711 has a function of digitally recording and encoding animage input via a lens. An image captured by the camera unit 711 issaved in the data storage unit 712. The loudspeaker unit 713 realizes afunction of inputting or outputting a speech for a telephone function,and also an alarm notification function, and the like. A power supplyunit 714 is a portable battery, and executes power supply control in theapparatus. A power supply state includes an out-of-battery state, inwhich the battery has no remaining amount, a power-OFF state, in whichthe power key 205 is not pressed, a activation state, in which theapparatus is normally activated, and a power saving state, in which theapparatus is activated but is set in a power saving mode.

The portable communication terminal apparatus 200 incorporates threecommunication units required to make wireless communications, and canmake WLAN, NFC, and Bluetooth® wireless communications. Thus, theportable communication terminal apparatus 200 makes data communicationswith another device, such as an MFP. This communication unit convertsdata into packets, and makes packet transmission to the other device.Conversely, the communication unit converts packets coming from anotherexternal device into data, and transmits the data to the CPU 702. TheWLAN unit 717, the NFC unit 718, and the BT unit 721 are connected tothe main board 701, respectively, via bus cables 715, 716, and 720. TheWLAN unit 717, the NFC unit 718, and the BT unit 721 are units requiredto attain communications compliant with the standards. Details of theNFC unit will be described later with reference to FIG. 9.

The respective components 703 to 714, 717, 718, 721, and 722 in the mainboard 701 are connected to each other via a system bus 719 managed bythe CPU 702.

FIG. 8 is a block diagram showing the arrangement of the MFP 300.

The MFP 300 includes a main board 801 that executes main control of theapparatus itself, a WLAN unit 817 that makes WLAN communications, an NFCunit 818 that makes NFC communications, and a BT unit 819 which makesBluetooth® communications.

In the main board 801, the CPU 802 is a system control unit, andcontrols the overall MFP 300. A ROM 803 stores control programs to beexecuted by the CPU 802, an embedded operating system (OS) program, andthe like. In this embodiment, respective control programs stored in theROM 803 implement software control, such as scheduling and taskswitching under the management of the embedded OS stored in the ROM 803.A RAM 804 includes an SRAM (Static RAM), stores data, such as programcontrol variables, stores data, such as setting values registered by theuser and management data of the MFP 300, and is assured with variouswork buffer areas.

A nonvolatile memory 805 includes a memory, such as a flash memory, andstores data to be held even after power-OFF. More specifically, suchdata include network connection information, user data, and the like. Animage memory 806 includes a memory, such as a DRAM (Dynamic RAM), andstores image data received via a communication unit, those processed byan encoding/decoding processing unit 812, and those acquired via amemory card controller 516. Also, as in the memory configuration of theportable communication terminal apparatus 200, the present invention isnot limited to such specific memory configuration. A data conversionunit 807 executes analysis of a page description language (PDL), and thelike, conversion from image data into print data, and the like.

Note that the communication unit is a collective term of communicationfunctions including the WLAN unit 817, the NFC unit 818, and the BT unit819.

A reading control unit 808 controls a reading unit 810 to optically reada document by, for example, a CIS sensor (contact image sensor). Next,the reading control unit 808 applies various kinds of image processing,such as binarization processing and halftone processing, to an imagesignal converted into electrical image data via an image processingcontrol unit (not shown), thereby outputting high-resolution image data.

An operation unit 809 and a display unit 811 correspond to theoperation/display unit 305 in FIG. 4. The encoding/decoding processingunit 812 executes encoding/decoding processing and enlargement/reductionprocessing of image data (JPEG, PNG, etc.) handled by the MFP 300. Apaper feed unit 814 holds paper sheets used in printing. A paper sheetcan be fed from the paper feed unit 814 under the control of a printingcontrol unit 816. Especially, as the paper feed unit 814, a plurality ofpaper feed units can be prepared so as to hold a plurality of types ofpaper sheets in one apparatus. Then, the printing control unit 816 cancontrol to select a paper feed unit used to supply paper sheets.

The printing control unit 816 applies various kinds of image processing,such as smoothing processing, printing density correction processing,and color correction to image data to be printed via an image processingcontrol unit (not shown) to convert that image data into high-resolutionimage data, and outputs the converted data to a printing unit 815. Theprinting control unit 816 also assumes a role of periodically readingout information of the printing unit 815, and updating information inthe RAM 804. More specifically, the printing control unit 816 updatesstatus information, such as the remaining amount of an ink tank and aprinthead state.

The MFP 300 also incorporates three communication units required to makewireless communications as in the portable communication terminalapparatus 200, and a description of these communication units will notbe repeated since their functions are the same. In this case, the WLANunit 817, the NFC unit 818, and the BT unit 819 are connected to themain board 801, respectively, via bus cables 820, 821, and 822.

Respective components 802 to 819 in the main board 801 are connected toeach other via a system bus 823 managed by the CPU 802.

FIG. 9 is a block diagram showing details of an NFC unit used in the NFCunit 718 or 818.

FIG. 9 will explain the NFC unit 718 (FIG. 7) or the NFC unit 818 (FIG.8) as an NFC unit 900. The NFC unit 900 includes an NFC controller unit901, an antenna unit 902, an RF unit 903, a transmission/receptioncontrol unit 904, an NFC memory 905, a power supply 906, and a deviceconnection unit 907.

The antenna unit 902 receives electromagnetic waves and carriers fromanother NFC device (a device incorporating an NFC unit), and transmitselectromagnetic waves and carriers to another NFC device. The RF unit903 has a function of modulating/demodulating an analog signal to adigital signal. The RF unit 903 includes a synthesizer, and controlsbands and channels based on frequency assigned data by identifyingfrequencies of bands and channels.

The transmission/reception control unit 904 executes control associatedwith transmission/reception, such as assembling/disassembling oftransmission/reception frames, appending and detection of a preamble,and frame identification. Also, the transmission/reception control unit904 controls the NFC memory 905 to read/write various data and programs.When the NFC unit operates in the active mode, it receives electricalpower via the power supply 906 to communicate with a device via thedevice connection unit 907 and to communicate with another NFC devicelocated within a communication range by carriers (or electromagneticwaves) transmitted/received via the antenna unit 902. When the NFC unitoperates in the passive mode, it receives carriers (or electromagneticwaves) from another NFC device via the antenna unit 902 to electricalpower from that NFC device by electromagnetic induction, and exchangesdata via communications with that NFC device by modulating carriers (orelectromagnetic waves).

FIGS. 10A and 10B show display examples on the display unit 406 of theMFP 300.

When a print job is received from the portable communication terminalapparatus 200, a print job confirmation screen 1001 is displayed on thedisplay unit 406. When a scan job is received, a scan job confirmationscreen 1002 is displayed.

FIG. 11 shows the configuration of the RAM 804 of the MFP 300.

Reference numeral 1101 denotes an entire storage area of the RAM 804. Awork memory 1102 is a memory area assured to execute programs. An imageprocessing buffer 1103 is an area used as a temporary buffer for imageprocessing.

A device state storage area 1104 stores various kinds of informationassociated with the current state of the MFP 300. In this case, variouskinds of information include an error state 1105, an ink remainingamount 1106, a next estimated activation time 1107, and miscellaneous1108.

The error state 1105 stores states associated with errors of the MFP300. Such errors include a low-ink alert, an out-of-ink error, a paperjam error, an out-of-paper alert, a printed image defect alert, a readimage defect error, a network disconnection alert, and the like. Thesealerts and errors are associated with degrees of influence on a printingfunction, degrees of influence on a reading function, and the like. Forexample, in case of an out-of-ink error, the printing function is notavailable, but the reading function is available. In case of a networkdisconnection alert, functions using a network are not available, butsetting changes and the reading functions to be performed by theapparatus alone are available.

The ink remaining amount 1106 stores a model number and an ink remainingamount of a currently attached ink tank. The model number of the inktank is updated at an attachment timing of that ink tank. The inkremaining amount 1106 is updated every time ink is used.

The next estimated activation time 1107 stores an estimated activationtime of the next activation timing when the power supply is turned off.The activation time of the MFP 300 largely varies depending on states.For example, a power supply state of the MFP 300 includes a hard OFFstate, soft OFF state, normal activation state, sleep state, and thelike. In the hard OFF state, no electrical power is supplied, and, whenthe power supply is turned on to change the hard OFF state to the normalactivation state, a long time is required. In the soft OFF state,electrical power is supplied to some units, but a main program is notrunning. In this state, the apparatus can be activated to require ashorter time than the hard OFF state. In the sleep state, since noelectrical power is supplied to units that require large powerconsumption, but other programs and mechanisms are active, the normalactivation state can be restored quickly. Another variation factor ofthe activation time includes error states of the apparatus. For example,when many clogged nozzles of an inkjet printhead are detected, theapparatus is activated for the next time after recovery processing for along time. When the light amount of the scanner is reduced, theapparatus is activated after an adjustment operation. In this manner,the estimated activation time at the next activation timing is decideddepending on the state transition of the power supply and the state ofthe apparatus.

The miscellaneous 1108 stores other device states, such as the currentmemory use amount, a hardware temperature, and expendable information. Amiscellaneous 1109 stores data other than aforementioned data.

FIG. 12 shows the configuration of the nonvolatile memory 805 of the MFP300.

Reference numeral 1201 denotes an overall storage area of thenonvolatile memory 805. User data 1202 stores information associatedwith the user, and stores, for example, a FAX telephone number, acommunication history, network information, and the like. A previouslyconnected apparatus list 1203 stores a list of apparatuses to which theMFP 300 was connected so far.

For example, when the MFP 300 communicated with a smartphone via theNFC, the list 1203 stores an identifier of the smartphone. When the MFP300 was P2P (peer-to-peer)-connected to a smartphone via the WLAN, thelist 1203 stores identification information required for connection viathe WLAN. More specifically, when WPS (Wi-Fi Protected Setup) is usedfor the WLAN connection, the list 1203 stores WPS Credentialauthentication information. When the MFP 300 was connected to asmartphone via Bluetooth®, the list 1203 stores OOB authenticationinformation. When the MFP 300 was connected to a server apparatus via aLAN, the list 1203 stores network information of the server apparatus.Setting information 1206 stores setting information of the MFP 300. Thesetting information includes, for example, menu items, such as a printmode, correction information of the inkjet printhead, and the like. Ajob reservation storage area 1207 saves print reservation information,scan reservation information, and the like, that are copied from the NFCmemory 905 of the NFC unit 900. A miscellaneous 1208 stores other kindsof nonvolatile information.

FIG. 13 shows the configuration of the NFC memory 905 of the MFP 300.

Reference numeral 1301 denotes an overall storage area of the NFC memory905 of the MFP 300. To a device state storage area 1302, the contents ofthe device state storage area 1104 (FIG. 11) are copied at apredetermined timing. In FIG. 13, an error state 1303, an ink remainingamount 1304, and a next estimated activation time 1305 respectivelycorrespond to the error state 1105, the ink remaining amount 1106, andthe next estimated activation time 1107 shown in FIG. 11.

Note that, in this embodiment, operation mode information indicating acurrent operation mode of the apparatus of a plurality of types ofoperation modes is stored and managed in the next estimated activationtime 1305. The operation modes include a normal operation mode, in whichpredetermined electrical power is supplied, a power saving mode, inwhich electrical power to be supplied is lower than that in the normaloperation mode, a soft power-OFF mode, in which electrical power to besupplied is lower than that in the power saving mode, and an AC-OFF mode(power-OFF mode), in which no electrical power is supplied. In thiscase, since the power saving mode and the soft power-OFF mode are commonin the sense of a standby state mode, in which electrical power of amain power supply (normal operation mode) of the apparatus is notsupplied and consumption power is low, both these modes are standbypower modes.

A job storage area 1306 is used when the portable communication terminalapparatus 200 inputs a job to the MFP 300 via the NFC. A print job 1307is a queue that stores print jobs. More specifically, the print job 1307stores print settings and link destinations to images. A scan job 1308is a queue that stores scan jobs. More specifically, the scan job 1308stores reading settings. A copy job 1309 is a queue that stores copyjobs. More specifically, the copy job 1309 stores copy settings. A FAXjob 1310 is a queue that stores FAX jobs. More specifically, the FAX job1310 stores FAX settings including telephone numbers of transmissiondestinations, communication image qualities, and the like, and linkdestinations to images when images have already been read.

A setting change job 1311 is a queue that stores setting change jobs.More specifically, the setting change job 1311 stores jobs associatedwith changes of setting items of the MFP 300 main body. An activationjob area 1312 stores activation information. More specifically, theactivation job area 1312 stores information indicating a unit (function:a print function, a reading function, a FAX function, a telephonefunction, or the like) to be activated of the MFP 300. In this case, theactivation job area 1312 is a fixed storage area, which is assured inadvance, and allows data read/write accesses regardless of the freecapacity of the NFC memory.

FIG. 14 is a flowchart required for the NFC unit 900 to operate as aninitiator.

Initially, in step S1401, all NFC units 900 operate as a target, and areset in a waiting state of a command from an initiator. In this case,each NFC unit 900 can be switched to an initiator in response to arequest from an application that controls communications based on theNFC standard. Then, the application determines in step S1402 whether ornot the NFC unit 900 is switched to an initiator. If the NFC unit 900 isnot switched to an initiator (NO in step S1402), the process returns tostep S1401. On the other hand, if the NFC unit 900 is switched to aninitiator in response to a switching request to an initiator (YES instep S1402), the process advances to step S1403.

In step S1403, the application of the NFC unit 900 selects one of theactive mode and the passive mode as an operation mode, and decides atransmission rate. Next, in step S1404, the NFC unit 900 as theinitiator detects an RF field generated by a device other than the selfunit. That is, the NFC unit 900 determines whether or not an external RFfield is detected. If an external RF field is detected (YES in stepS1404), the initiator waits until no RF field is detected withoutgenerating a self RF field. On the other hand, if no external RF fieldis detected (NO in step S1404), the process advances to step S1405, andthe NFC unit 900 as the initiator generates a self RF field. Via theaforementioned steps, the NFC unit 900 begins to operate as theinitiator.

FIG. 15 is a sequence chart of data exchange in the passive mode.

A case will be described below in which a first NFC unit 1501 operatesas an initiator, and a second NFC unit 1502 operates as a target.

In step S1501, the first NFC unit 1501 executes single-device detectionto specify the second NFC unit 1502. Next, in step S1502, the first NFCunit 1501 transmits a self identifier, a bit transmission rate oftransmission/reception, a valid data length, and the like, as anattribute request. The attribute request has general bytes, and can bearbitrarily selected and used.

When the second NFC unit 1502 receives a valid attribute request, ittransmits an attribute response in step S1503. In this case,transmission from the second NFC unit 1502 is attained by loadmodulation, and data transmission by means of load transmission isexpressed by a dotted line arrow in FIG. 15.

In step S1504, after the first NFC unit 1501 confirms a valid attributeresponse, it transmits a parameter selection request to continuouslychange parameters of a transmission protocol. Parameters included in theparameter selection request are a transmission rate and a valid datalength.

When the second NFC unit 1502 receives a valid parameter selectionrequest, it transmits a parameter selection response in step S1505, andchanges the parameters. Note that steps S1504 and S1505 may be omittedif parameters are not changed.

In step S1506, the first and second NFC units 1501 and 1502 exchangedata by a data exchange request and a data exchange response. The dataexchange request and the response can transmit information forapplications included in communication partners as data, and candivisionally transmit information when a data size is large.

Upon completion of data exchange, the first NFC unit 1501 transmitseither a selection release request or a release request in step S1507.When the first NFC unit 1501 transmits the selection release request,the second NFC unit 1502 transmits a selection release response in stepS1508. Upon reception of the selection release request, the first NFCunit 1501 releases the attributes indicating the second NFC unit 1502,and the process returns to step S1501. When the first NFC unit 1501transmits a release request, the second NFC unit 1502 transmits arelease response and returns to an initial state in step S1508. When thefirst NFC unit 1501 receives the release response, it may return to aninitial state since the target is completely released.

FIG. 16 is a sequence chart of data exchange in the active mode.

In FIG. 16, a case will be described below in which a first NFC unit1601 operates as an initiator, and a second NFC unit 1602 operates as atarget.

In step S1601, the first NFC unit 1601 transmits a self identifier, abit transmission rate of transmission/reception, a valid data length,and the like, as an attribute request.

Upon reception of a valid attribute request, the second NFC unit 1602transmits an attribute response in step S1602. In this case,transmission from the second NFC unit 1602 is attained by an RF fieldgenerated by itself. For this reason, the first and second NFC units1601 and 1602 stop outputting an RF field after completion of datatransmission.

After the first NFC unit 1601 confirms a valid attribute response, ittransmits a parameter selection request to change parameters of atransmission protocol in step S1603. Parameters included in theparameter selection request are a transmission rate and a valid datalength.

Upon reception of a valid parameter selection request, the second NFCunit 1602 transmits a parameter selection response and changes theparameters in step S1604. Note that, as in the passive mode, steps S1603and S1604 may be omitted if the parameters are not changed.

In step S1605, the first and second NFC units 1601 and 1602 exchangedata by a data exchange request and a data exchange response. The dataexchange request and the response can transmit information forapplications included in communication partners as data, and candivisionally transmit information when a data size is large.

Upon completion of data exchange, the first NFC unit 1601 transmitseither a selection release request or a release request in step S1606.

When the first NFC unit 1601 transmits the selection release request,the second NFC unit 1602 transmits a selection release response in stepS1607. Upon reception of the selection release request, the first NFCunit 1601 releases the attributes indicating the second NFC unit 1602.After that, in step S1608, the first NFC unit 1601 transmits anactivation request to another target, an identifier of which is given. Atarget, which received the activation request, transmits an activationresponse in step S1609, and the process returns to step S1601.

On the other hand, when the first NFC unit 1601 transmits the releaserequest, the second NFC unit 1602 transmits a release response in stepS1607. Upon reception of the release response, the first NFC unit 1601transmits a release response in step S1608, and returns to an initialstate. When the first NFC unit 1601 receives the release response, itmay return to an initial state since the target is completely released.

FIG. 17 shows a packet example of a data exchange request.

A DEP_REQ command can be returned as a response including arbitrary userdata. Command bytes CMD 0 and CMD 1 required to identify the DEP_REQcommand have to be set to be “D4” and “06”, respectively. Byte 0 to Byte2 are indispensable data bytes specified by the NFC standard. Byte 3 toByte n are user data bytes, and can be arbitrarily selected by the user.A data size is defined in advance by attribute information (ATR), but itis often changed by an FSL byte of a parameter selection command(PSL_REQ). FIG. 17 exemplifies a case in which a command that requeststo change apparatus settings is transmitted. “DEV_SET_CHG_REQ” is acommand that requests a target to change apparatus settings. A data sizeis arbitrary, and is defined by functions included in the target.

FIGS. 18A to 18I show display examples of a UI of a printer applicationand setting UIs of respective applications of the portable communicationterminal apparatus 200.

FIG. 18A shows a display example of a UI of a printer application 1801,and this UI allows the user to make apparatus settings, and to issue aprint, a scan, a copy, or a FAX execution instruction with respect tothe MFP 300. Execution instruction items are not limited to thoseenumerated in FIG. 18A, and an item of, for example, apparatusmaintenance may be added.

FIG. 18B shows a display example of an apparatus setting UI thatdisplays a list of apparatus setting items with respect to the MFP 300.In FIG. 18B, reference numeral 1803 denotes a cursor item to the nextpage, which item is required to refer to the next settable item,reference numeral 1804 denotes a change control of an activation time ofthe MFP 300, reference numeral 1805 denotes a change item of networksettings and reference numeral 1806 denotes an item used to display anink remaining amount.

After completion of settings, when the user presses a reservedtransmission button 1807 a, only a setting change reservation is madefor the MFP 300, and is registered only on the NFC memory of the NFCunit 718 (FIG. 7) depending on an activation state (soft power-OFFstate, or the like) of the apparatus, thus closing the UI. When the userpresses a settled transmission button 1807 b, setting changes in theapparatus are made irrespective of the state of the MFP 300. When theuser presses either of these buttons, an operation as an initiator isstarted based on an instruction from the application, and a message 1808that notifies the user that the apparatus is ready to communicate withthe MFP 300 is displayed on an apparatus setting application screen.Apparatus setting items are not limited to those, and an item thatallows to set a registration adjustment value may be included.

FIG. 18C shows a display example of a UI required to issue a printinstruction. Reference numeral 1810 denotes a setting item of a papertype such as plain paper, reference numeral 1811 denotes a setting itemof a paper width, such as A4, reference numeral 1812 denotes a settingitem of a print mode, such as “fine”, and reference numeral 1813 denotesa setting item of image data to be printed.

After completion of settings, when the user presses a reservedtransmission button 1814 a, only a print reservation is made for the MFP300, and is registered only on the NFC memory of the NFC unit 718depending on an activation state (soft power-OFF state or the like) ofthe apparatus, thus closing the UI. When the user presses a settledtransmission button 1814 b, a print operation is executed irrespectiveof the state of the MFP 300. When the user presses either of thesebuttons, an operation as an initiator is started based on an instructionfrom the application, and a message 1815 that notifies the user that theapparatus is ready to communicate with the MFP 300 is displayed on aprint instruction application screen. Print setting items are notlimited to those, and can be decided arbitrarily.

FIG. 18D shows a display example of a UI required to issue a scaninstruction. Reference numeral 1816 denotes a setting item of a scanresolution, reference numeral 1817 denotes a setting item of a scanrange, such as A4, and reference numeral 1818 denotes a designation itemof a saving destination of a scan image.

After completion of settings, when the user presses a reservedtransmission button 1819 a, only a scan reservation is made for the MFP300, and is registered only on the NFC memory of the NFC unit 718depending on an activation state (soft power-OFF state, or the like) ofthe apparatus, thus closing the UI. When the user presses a settledtransmission button 1819 b, a scan operation is executed irrespective ofthe state of the MFP 300. When the user presses either of these buttons,an operation as an initiator is started based on an instruction from theapplication, and a message 1820 that notifies the user that theapparatus is ready to communicate with the MFP 300 is displayed on ascan instruction application screen. Scan setting items are not limitedto those, and can be decided arbitrarily.

FIG. 18E shows a display example of a UI required to issue a copyinstruction. Reference numeral 1821 denotes a setting item of a copypaper type, such as plain paper, reference numeral 1822 denotes asetting item of a copy paper width, such as A4, and reference numeral1823 denotes a designation item of a copy mode, such as “fine”.

After completion of settings, when the user presses a reservedtransmission button 1824 a, only a copy reservation is made for the MFP300, and is registered only on the NFC memory of the NFC unit 718depending on an activation state (soft power-OFF state, or the like) ofthe apparatus, thus closing the UI. When the user presses a settledtransmission button 1824 b, a copy operation is executed irrespective ofthe state of the MFP 300. When the user presses either of these buttons,an operation as an initiator is started based on an instruction from theapplication, and a message 1825 that notifies the user that theapparatus is ready to communicate with the MFP 300 is displayed on acopy setting application screen. Copy setting items are not limited tothose, and can be decided arbitrarily.

FIG. 18F shows a display example of a UI required to issue a FAXinstruction. Reference numeral 1826 denotes a setting item of FAXtransmission, and reference numeral 1827 denotes a setting item of FAXreception. On this screen, transmission buttons 1828 are disabled.

When the user presses the FAX transmission setting item 1826, thecurrent screen transits to a FAX transmission setting screen shown inFIG. 18G, thus allowing the user to make FAX transmission settings.Reference numeral 1830 denotes a setting item of a paper type, such asplain paper, reference numeral 1831 denotes a setting item of a papersize, such as A4 reference numeral 1832 denotes a setting item of atransmission mode, such as “fine”, and reference numeral 1833 denotes adesignation item of transmission data when IFAX is used. Aftercompletion of settings, when the user presses a reserved transmissionbutton 1834 a, only a FAX transmission reservation is made for the MFP300, and is registered only on the NFC memory of the NFC unit 718depending on an activation state (soft power-OFF state, or the like) ofthe apparatus, thus closing the UI. When the user presses a settledtransmission button 1834 b, FAX transmission is executed irrespective ofthe state of the MFP 300. When the user presses either of these buttons,an operation as an initiator is started based on an instruction from theapplication, and a message 1835 that notifies the user that theapparatus is ready to communicate with the MFP 300 is displayed on a FAXtransmission application screen. FAX transmission setting items are notlimited to those, and can be decided arbitrarily.

When the user presses the FAX reception setting item 1827, the currentscreen transits to a FAX reception setting screen shown in FIG. 18H,thus allowing the user to make FAX reception settings. Reference numeral1836 denotes a reception mode setting item. After completion ofsettings, when the user presses a reserved transmission button 1837 a,only a FAX reception reservation is made for the MFP 300, and isregistered only on the NFC memory of the NFC unit 718 depending on anactivation state (soft power-OFF state, or the like) of the apparatus,thus closing the UI. When the user presses a settled transmission button1837 b, FAX reception is executed irrespective of the state of the MFP300. When the user presses either of these buttons, an operation as aninitiator is started based on an instruction from the application, and amessage 1838 that notifies the user that the apparatus is ready tocommunicate with the MFP 300 is displayed on a FAX reception applicationscreen. FAX reception setting items are not limited to those, and can bedecided arbitrarily.

FIGS. 19A and 19B are flowcharts executed when the MFP 300 changes anactivation method of each control unit of itself according to the selfstate in response to an operation request from the portablecommunication terminal apparatus 200. In this processing, the MFP 300receives an operation request from the portable communication terminalapparatus 200 (first reception), and the portable communication terminalapparatus 200 receives a response to the operation request from the MFP300 (second reception).

The MFP 300 determines in step S1901 with reference to the contents (thenext estimated activation time 1305 (FIG. 13)) in the NFC memory of theNFC memory 818 (FIG. 8) whether or not it is in a normal operation modestate in which predetermined electrical power is supplied. If the MFP300 is in the normal operation mode state (YES in step S1901), itdirectly transfers an operation request from the portable communicationterminal apparatus 200 to the CPU 802, thus executing a requestedoperation.

On the other hand, if the MFP 300 is not in the normal operation modestate (NO in step S1901), the MFP 300 determines in step S1902 whetheror not it is in a power saving mode state in which electrical power tobe supplied is lower than that in the normal operation mode state.Furthermore, the MFP 300 determines in step S1922 whether or not it isin a soft power-OFF mode state in which electrical power to be suppliedis lower than that in the power saving mode.

If the MFP 300 is in the power saving mode state (YES in step S1902) orit is in the soft power-OFF mode state (YES in step S1922), the processadvances to step S1903, and the MFP 300 determines whether or not anoperation request from the portable communication terminal apparatus 200is only an operation reservation. If the operation request is only anoperation reservation (YES in step S1903), the MFP 300 determines instep S1904 whether or not the NFC memory of the NFC unit 818 has a freespace. If the NFC memory has a free space (YES in step S1904), the MFP300 writes reservation information in a corresponding reservation areaon the NFC memory of the NFC unit 818, thus ending the processing instep S1905.

Note that whether or not the NFC memory has a free space is determinedby checking, for example, whether or not a free area of the NFC memoryis equal to or smaller than a predetermined amount.

On the other hand, if the NFC memory does not have a free space (NO instep S1904), the MFP 300 writes activation information 1 in theactivation job area 1312 on the NFC memory of the NFC unit 818 in stepS1906, thus ending the processing.

In this case, the activation information indicates units (that is, unitsin the image processing apparatus), a power supply of which is to beactivated, of the MFP 300.

If “1” is set in the activation job area 1312, electrical power issupplied to activate only units required to save information (forexample, the nonvolatile memory 805 that can save reservationinformation).

If “2” is set in the activation job area 1312, electrical power issupplied to activate only units required for a print operation (forexample, the printing unit 815 and the printing control unit 816 thatare required for the print operation).

If “3” is set in the activation job area 1312, electrical power issupplied to activate only units required for a scan operation (forexample, the reading unit 810 and the reading control unit 808 that arerequired for the scan operation).

If “4” is set in the activation job area 1312, electrical power issupplied to activate only units required for a copy operation (forexample, the printing unit 815, the printing control unit 816, thereading unit 810, and the reading control unit 808 that are required forthe copy operation).

If “5” is set in the activation job area 1312, electrical power issupplied to activate only units required for FAX transmission (forexample, the reading unit 810, the reading control unit 808, the FAXcontrol unit 823, the modem 825 that are required for the FAXtransmission).

If “6” is set in the activation job area 1312, electrical power issupplied to activate only units required for FAX reception (for example,the FAX control unit 823 and modem 825 that are required for the FAXreception).

If “7” is set in the activation job area 1312, electrical power issupplied all control units/processing units to activate the MFP 300.

The number of pieces of activation information is not limited to seven,and may be increased as needed.

If the MFP 300 determines in step S1903 that the operation request isnot only an operation reservation (NO in step S1903), it determines arequested operation in subsequent steps S1907 to S1912. The MFP 300determines in step S1907 whether or not the requested operation is anapparatus setting change. If the requested operation is an apparatussetting change (YES in step S1907), the MFP 300 writes activationinformation 1 in the activation job area 1312 on the NFC memory in stepS1915.

If the requested operation is not an apparatus setting change (NO instep S1907), the MFP 300 determines in step S1908 whether or not therequested operation is a print instruction. If the requested operationis a print instruction (YES in step S1908), the MFP 300 writesactivation information 2 in the activation job area 1312 on the NFCmemory.

If the requested operation is not a print instruction (NO in stepS1908), the MFP 300 determines in step S1909 whether or not therequested operation is a scan instruction. If the requested operation isa scan instruction (YES in step S1909), the MFP 300 writes activationinformation 3 in the activation job area 1312 on the NFC memory.

If the requested operation is not a scan instruction (NO in step S1909),the MFP 300 determines in step S1910 whether or not the requestedoperation is a copy instruction. If the requested operation is a copyinstruction (YES in step S1910), the MFP 300 writes activationinformation 4 in the activation job area 1312 on the NFC memory.

If the requested operation is not a copy instruction (NO in step S1910),the MFP 300 determines in step S1911 whether or not the requestedoperation is a FAX transmission instruction. If the requested operationis a FAX transmission instruction (YES in step S1911), the MFP 300writes activation information 5 in the activation job area 1312 on theNFC memory.

If the requested operation is not a FAX transmission instruction (NO instep S1911), the MFP 300 determines in step S1912 whether or not therequested operation is a FAX reception instruction. If the requestedoperation is a FAX reception instruction (YES in step S1912), the MFP300 writes activation information 6 in the activation job area 1312 onthe NFC memory.

If the requested operation is not a FAX reception instruction (NO instep S1912), the MFP 300 writes activation information 7 in theactivation job area 1312 on the NFC memory in step S1913.

In step S1914, the CPU 802 of the MFP 300 monitors the activation jobarea 1312 on the NFC memory of the NFC unit 818. If the value in theactivation job area 1312 is changed to a value other than 0, the CPU 802supplies electrical power to the apparatus based on the value of theactivation information, thus attaining activation. After that, the CPU802 initializes the activation information in the activation job area1312 on the NFC memory of the NFC unit 818 to 0.

On the other hand, if the MFP 300 determines in step S1922 that it isnot in the soft power-OFF mode state (NO in step S1922), the MFP 300determines in step S1923 whether or not it is in an AC-OFF mode state.If the MFP 300 is in the AC-OFF mode state (YES in step S1923), the MFP300 determines in step S1924 whether or not the NFC memory of the NFCunit 818 has a free space. If the NFC memory has a free space (YES instep S1924), the MFP 300 writes reservation information in acorresponding reservation area on the NFC memory of the NFC unit 818 instep S1905, thus ending the processing. On the other hand, if the NFCmemory does not have a free space (NO in step S1924), the MFP 300notifies the portable communication terminal apparatus 200 of errorinformation indicating that the NFC memory of the NFC unit 818 does nothave a free space in step S1925. In response to this information, theportable communication terminal apparatus 200 displays an error screen1839 (FIG. 18I).

FIG. 20 is a flowchart showing the detailed sequence when the MFP 300receives an apparatus setting change request from the portablecommunication terminal apparatus 200 when it is not in the normaloperation mode state, that is, it is in the power saving mode state, thesoft power-OFF mode state, or the AC-OFF mode state. That is, FIG. 20shows processing in a case other than the normal operation mode.

The MFP 300 determines in step S2001 whether or not it is in the AC-OFFmode state. If the MFP 300 is in the AC-OFF mode state (YES in stepS2001), it determines in step S2002 whether or not the NFC memory of theNFC unit 818 has a free space. If the NFC memory has a free space (YESin step S2002), the MFP 300 writes apparatus setting information in thesetting change job 1311 on the NFC memory of the NFC unit 818 in stepS2003. In step S2004, the MFP 300 writes that apparatus settinginformation in its setting information 1206 at the next power-ON timing.

On the other hand, if the NFC memory does not have a free space (NO instep S2002), the MFP 300 notifies the portable communication terminalapparatus 200 of error information indicating that the NFC memory of theNFC unit 818 does not have a free space in step S2005. In response tothis information, the portable communication terminal apparatus 200displays the error screen 1839.

If the MFP 300 is not in the AC-OFF mode state (NO in step S2001), theMFP 300 determines in step S2006 whether or not the apparatus settingchange request is only an apparatus setting change reservation. If theapparatus setting change request is not only an apparatus setting changereservation (NO in step S2006), the MFP 300 writes activationinformation 1 in the activation job area 1312 on the NFC memory of theNFC unit 818 in step S2007. In step S2008, the MFP 300 executes poweractivation of units that are designated by activation information 1 andcan access the nonvolatile memory. In step S2009, the MFP 300 writesapparatus setting information in the setting information 1206 on itself.After that, in step S2010, after completion of the write access, the MFP300 reverts to the previous apparatus mode state, for example, the powersaving mode state.

If the apparatus setting change request is only an apparatus settingchange reservation (YES in step S2006), the MFP 300 determines in stepS2011 whether or not the NFC memory of the NFC unit 818 has a freespace. If the NFC memory has a free space (YES in step S2011), the MFP300 writes apparatus setting information in the setting change job 1311on the NFC memory of the NFC unit 818 in step S2012. In step S2013, theMFP 300 writes that apparatus setting information in its settinginformation 1206 at the next power-ON timing. On the other hand, if theNFC memory does not have a free space (NO in step S2011), the processadvances to step S2007.

FIGS. 21A and 21B are flowcharts showing the detailed sequence when theMFP 300 receives a print instruction request from the portablecommunication terminal apparatus 200 when it is not in the normaloperation mode state, that is, it is in the power saving mode state, thesoft power-OFF mode state, or the AC-OFF mode state.

The MFP 300 determines in step S2101 whether or not it is in the AC-OFFmode state. If the MFP 300 is in the AC-OFF mode state (YES in stepS2101), it determines in step S2102 whether or not the NFC memory of theNFC unit 818 has a free space. If the NFC memory has a free space (YESin step S2102), the MFP 300 writes print reservation information in theprint job 1307 on the NFC memory of the NFC unit 818 in step S2103. Instep S2104, the MFP 300 executes a print operation as designated by theprint reservation information at the next power-ON timing.

On the other hand, if the NFC memory does not have a free space (NO instep S2102), the MFP 300 notifies the portable communication terminalapparatus 200 of error information indicating that the NFC memory of theNFC unit 818 does not have a free space in step S2105. In response tothis information, the portable communication terminal apparatus 200displays the error screen 1839.

If the MFP 300 is not in the AC-OFF mode state (NO in step S2101), theMFP 300 determines in step S2106 whether or not the print instructionrequest is only print reservation. If the print instruction request isnot only a print reservation (NO in step S2106), the MFP 300 writesactivation information 2 in the activation job area 1312 on the NFCmemory of the NFC unit 818 in step S2107. In step S2108, the MFP 300executes power activation by supplying electrical power to units thatare designated by activation information 2 and can execute the printoperation. In step S2109, the MFP 300 executes the instructed printoperation.

If the print instruction request is only a print reservation (YES instep S2106), the MFP 300 determines in step S2110 whether or not the NFCmemory of the NFC unit 818 has a free space. If the NFC memory has afree space (YES in step S2110), the MFP 300 writes print reservationinformation in the print job 1307 on the NFC memory of the NFC unit 818in step S2111. In step S2112, the MFP 300 executes a print operation asdesignated by the print reservation information at the next power-ONtiming.

If the NFC memory does not have a free space (NO in step S2110), the MFP300 writes activation information 1 in the activation job area 1312 onthe NFC memory of the NFC unit 818 in step S2113. In step S2114, the MFP300 executes power activation by supplying electrical power to unitsthat are designated by activation information 1 and can access thenonvolatile memory, and writes print reservation information in the jobreservation storage area 1207 on itself. After that in step S2115, aftercompletion of the write access, the MFP 300 reverts to the previousapparatus mode state, for example, the power saving mode state.

FIGS. 22A and 22B are flowcharts showing the detailed sequence when theMFP 300 receives a scan instruction request from the portablecommunication terminal apparatus 200 when it is not in the normaloperation mode state, that is, it is in the power saving mode state, thesoft power-OFF mode state, or the AC-OFF mode state.

The MFP 300 determines in step S2201 whether or not it is in the AC-OFFmode state. If the MFP 300 is in the AC-OFF mode state (YES in stepS2201), it determines in step S2202 whether or not the NFC memory of theNFC unit 818 has a free space. If the NFC memory has a free space (YESin step S2202), the MFP 300 writes scan reservation information in thescan job 1308 on the NFC memory of the NFC unit 818 in step S2203. Instep S2204, the MFP 300 executes a scan operation as designated by thescan reservation information at the next power-ON timing.

On the other hand, if the NFC memory does not have a free space (NO instep S2202), the MFP 300 notifies the portable communication terminalapparatus 200 of error information indicating that the NFC memory of theNFC unit 818 does not have a free space in step S2205. In response tothis information, the portable communication terminal apparatus 200displays the error screen 1839.

If the MFP 300 is not in the AC-OFF mode state (NO in step S2201), theMFP 300 determines in step S2206 whether or not the scan instructionrequest is only scan reservation. If the scan instruction request is notonly a scan reservation (NO in step S2206), the MFP 300 writesactivation information 3 in the activation job area 1312 on the NFCmemory of the NFC unit 818 in step S2207. In step S2208, the MFP 300executes power activation by supplying electrical power to units thatare designated by activation information 3 and can execute the scanoperation. In step S2209, the MFP 300 executes the instructed scanoperation.

If the scan instruction request is only a scan reservation (YES in stepS2206), the MFP 300 determines in step S2210 whether or not the NFCmemory of the NFC unit 818 has a free space. If the NFC memory has afree space (YES in step S2210), the MFP 300 writes scan reservationinformation in the scan job 1308 on the NFC memory of the NFC unit 818in step S2211. In step S2212, the MFP 300 executes a scan operation asdesignated by the scan reservation information at the next power-ONtiming.

If the NFC memory does not have a free space (NO in step S2210), the MFP300 writes activation information 1 in the activation job area 1312 onthe NFC memory of the NFC unit 818 in step S2213. In step S2214, the MFP300 executes power activation by supplying electrical power to unitsthat are designated by activation information 1 and can access thenonvolatile memory, and writes scan reservation information in the jobreservation storage area 1207 on itself. After that in step S2215, aftercompletion of the write access, the MFP 300 reverts to the previousapparatus mode state, for example, the power saving mode state.

FIGS. 23A and 23B are flowcharts showing the detailed sequence when theMFP 300 receives a copy instruction request from the portablecommunication terminal apparatus 200 when it is not in the normaloperation mode state, that is, it is in the power saving mode state, thesoft power-OFF mode state, or the AC-OFF mode state.

The MFP 300 determines in step S2301 whether or not it is in the AC-OFFmode state. If the MFP 300 is in the AC-OFF mode state (YES in stepS2301), it determines in step S2302 whether or not the NFC memory of theNFC unit 818 has a free space. If the NFC memory has a free space (YESin step S2302), the MFP 300 writes copy reservation information in thecopy job 1309 on the NFC memory of the NFC unit 818 in step S2303. Instep S2304, the MFP 300 executes a copy operation as designated by thecopy reservation information at the next power-ON timing.

On the other hand, if the NFC memory does not have a free space (NO instep S2302), the MFP 300 notifies the portable communication terminalapparatus 200 of error information indicating that the NFC memory of theNFC unit 818 does not have a free space in step S2305. In response tothis information, the portable communication terminal apparatus 200displays the error screen 1839.

If the MFP 300 is not in the AC-OFF mode state (NO in step S2301), theMFP 300 determines in step S2306 whether or not the copy instructionrequest is only copy reservation. If the copy instruction request is notonly a copy reservation (NO in step S2306), the MFP 300 writesactivation information 4 in the activation job area 1312 on the NFCmemory of the NFC unit 818 in step S2307. In step S2308, the MFP 300executes power activation by supplying electrical power to units thatare designated by activation information 4 and can execute the copyoperation. In step S2309, the MFP 300 executes the instructed copyoperation.

If the copy instruction request is only a copy reservation (YES in stepS2306), the MFP 300 determines in step S2310 whether or not the NFCmemory of the NFC unit 818 has a free space. If the NFC memory has afree space (YES in step S2310), the MFP 300 writes copy reservationinformation in the copy job 1309 on the NFC memory of the NFC unit 818in step S2311. In step S2312, the MFP 300 executes a copy operation asdesignated by the copy reservation information at the next power-ONtiming.

If the NFC memory does not have a free space (NO in step S2310), the MFP300 writes activation information 1 in the activation job area 1312 onthe NFC memory of the NFC unit 818 in step S2313. In step S2314, the MFP300 executes power activation by supplying electrical power to unitsthat are designated by activation information 1 and can access thenonvolatile memory, and writes copy reservation information in the jobreservation storage area 1207 on itself. After that in step S2315, aftercompletion of the write access, the MFP 300 reverts to the previousapparatus mode state, for example, the power saving mode state.

FIGS. 24A and 24B are flowcharts showing the detailed sequence when theMFP 300 receives a FAX instruction request from the portablecommunication terminal apparatus 200 when it is not in the normaloperation mode state, that is, it is in the power saving mode state,soft power-OFF mode state, or AC-OFF mode state.

The MFP 300 determines in step S2401 whether or not it is in the AC-OFFmode state. If the MFP 300 is in the AC-OFF mode state (YES in stepS2401), it determines in step S2402 whether or not the NFC memory of theNFC unit 818 has a free space. If the NFC memory has a free space (YESin step S2402), the MFP 300 writes FAX reservation information in theFAX job 1310 on the NFC memory of the NFC unit 818 in step S2403. Instep S2404, the MFP 300 executes a FAX operation as designated by theFAX reservation information at the next power-ON timing.

On the other hand, if the NFC memory does not have a free space (NO instep S2402), the MFP 300 notifies the portable communication terminalapparatus 200 of error information indicating that the NFC memory of theNFC unit 818 does not have a free space in step S2405. In response tothis information, the portable communication terminal apparatus 200displays the error screen 1839.

If the MFP 300 is not in the AC-OFF mode state (NO in step S2401), theMFP 300 determines in step S2406 whether or not the FAX instructionrequest is only FAX reservation. If the FAX instruction request is notonly a FAX reservation (NO in step S2406), the MFP 300 determines instep S2407 whether or not the FAX instruction request is a FAXtransmission instruction. If the FAX instruction request is a FAXtransmission request (YES in step S2407), the MFP 300 writes activationinformation 5 in the activation job area 1312 on the NFC memory of theNFC unit 818 in step S2408. In step S2409, the MFP 300 executes poweractivation by supplying electrical power to units that are designated byactivation information 5 and can execute the FAX transmission operation.In step S2410, the MFP 300 executes the instructed FAX transmissionoperation.

If the FAX instruction request is a FAX reception instruction (NO instep S2407), the MFP 300 writes activation information 6 in theactivation job area 1312 on the NFC memory of the NFC unit 818 in stepS2414. In step S2415, the MFP 300 executes power activation by supplyingelectrical power to units that are designated by activation information6 and can execute the FAX reception operation. In step S2416, the MFP300 executes the instructed FAX reception operation.

If the FAX instruction request is only a FAX reservation (YES in stepS2406), the MFP 300 determines in step S2411 whether or not the NFCmemory of the NFC unit 818 has a free space. If the NFC memory has afree space (YES in step S2411), the MFP 300 writes FAX reservationinformation in the FAX job 1310 on the NFC memory of the NFC unit 818 instep S2412. In step S2413, the MFP 300 executes a FAX operation asdesignated by the FAX reservation information at the next power-ONtiming.

If the NFC memory does not have a free space (NO in step S2411), the MFP300 writes activation information 1 in the activation job area 1312 onthe NFC memory of the NFC unit 818 in step S2417. In step S2418, the MFP300 executes power activation by supplying electrical power to unitsthat are designated by activation information 1 and can access thenonvolatile memory, and writes FAX reservation information in the jobreservation storage area 1207 on itself. After that in step S2419, aftercompletion of the write access, the MFP 300 reverts to the previousapparatus mode state, for example, the power saving mode state.

As described above, according to this embodiment, the MFP activationmethod is adaptively switched according to an operation request from theportable communication terminal apparatus and an operation state of theapparatus, thus preventing power consumption of the apparatus from beingwasted. More specifically, the MFP activation method is adaptivelyswitched by writing reservation information of an operation indicated byan operation request in the NFC memory incorporated in the NFC unit.

Note that the aforementioned embodiment has exemplified the case inwhich the operation states of the apparatus include the normal operationmode, a standby power mode, and a power-OFF mode, and the activationmethod is switched according to each of these three states. The presentinvention is not, however, limited to this, and the operation method maybe switched according to each of two out of the aforementioned threestates.

Furthermore, in the aforementioned embodiment, since electrical power issupplied by electromagnetic induction, even when no AC electrical poweris supplied to the MFP, information of a job and operation request canbe written in the NFC memory. Hence, the MFP can judge the contents ofthe job and operation request when it executes the job.

The aforementioned embodiment has exemplified the MFP, which executesimage processing such as print processing, as the apparatus. The presentinvention is not limited, however, to this, and is applicable to aninformation processing apparatus that handles various kinds of data.

The present invention is applicable to a wireless communicationapparatus and a wireless communication system and, more particularly, anapparatus that can make short distance wireless communications,establishment of peer-to-peer connection between such apparatuses, and awireless communication system of these apparatuses.

Aspects of the present invention can also be realized by a computer of asystem or an apparatus (or devices such as a CPU or an MPU) that readsout and executes a program recorded on a memory device to perform thefunctions of the above-described embodiments, and by a method, the stepsof which are performed by a computer of a system or an apparatus by, forexample, reading out and executing a program recorded on a memory deviceto perform the functions of the above-described embodiments. For thispurpose, the program is provided to the computer, for example, via anetwork or from a recording medium of various types serving as thememory device (for example, a computer-readable medium).

While the present invention has been described with reference toexemplary embodiments, it is to be understood that the invention is notlimited to the disclosed exemplary embodiments. The scope of thefollowing claims is to be accorded the broadest interpretation so as toencompass all such modifications and equivalent structures andfunctions.

1-17. (canceled)
 18. An apparatus that causes a device to print animage, the apparatus comprising: at least one processor; and a displayscreen, wherein a state of the apparatus is changed from a first stateto a second state when an image is settled as a print target by a user,the first state being a state in which the at least one processor doesnot cause the device to print the image even if the apparatus is putclose to the device, and the second state being a state in which the atleast one processor can cause the device to print the image if theapparatus is put close to the device, wherein the at least one processorcauses the display screen not to display information for prompting theuser to put the apparatus close to the device, before the state of theapparatus is changed from the first state to the second state, and todisplay the information after the state of the apparatus is changed fromthe first state to the second state, and wherein, after the apparatus inthe second state performs a short distance wireless communication withthe device, the device prints the image.
 19. The apparatus according toclaim 18, wherein the at least one processor causes the display screento display the information with a display item relating to the image.20. The apparatus according to claim 19, wherein the at least oneprocessor causes the display screen to display the information and thedisplay item such that the information does not overlap, on the displayscreen, with the display item.
 21. The apparatus according to claim 19,wherein the at least one processor causes the display screen to displaythe information, in response to an instruction to the display screen onwhich the display item is displayed.
 22. The apparatus according toclaim 19, wherein the at least one processor causes the display screento display the information and the display item in a same screendisplayed by an application.
 23. The apparatus according to claim 18,wherein the at least one processor causes the display screen to displaysetting information indicating a print setting to be used for printingthe image with the information.
 24. The apparatus according to claim 23,wherein the print setting includes a sheet size.
 25. The apparatusaccording to claim 18, wherein the short distance wireless communicationis a near field communication (NFC).
 26. The apparatus according toclaim 18, wherein the at least one processor does not cause the displayscreen to display the information, after the image is designated by theuser and before the image is settled as the print target.
 27. Theapparatus according to claim 18, wherein the second state is apredetermined state in which the apparatus can communicate with thedevice by the short distance wireless communication.
 28. The apparatusaccording to claim 18, wherein the at least one processor causes thedisplay screen not to display the information when the state of theapparatus is being the first state, and to display the information whenthe state of the apparatus is being the second state.
 29. A controlmethod for controlling an apparatus that has a display screen and thatcauses a device to print an image, the method comprising: changing astate of the apparatus from a first state to a second state when animage is settled as a print target by a user, the first state being astate in which the device us caused to print the image even if theapparatus is put close to the device, and the second state being a statein which the apparatus can cause the device to print the image if theapparatus is put close to the device; and causing the display screen notto display information for prompting the user to put the apparatus closeto the device, before the state of the apparatus is changed from thefirst state to the second state, and to display the information afterthe state of the apparatus is changed from the first state to the secondstate, wherein, after the apparatus in the second state performs a shortdistance wireless communication with the device, the device prints theimage.
 30. The method according to claim 29, wherein the display screenis caused to display the information with an display item relating tothe image.
 31. The method according to claim 30, wherein the displayscreen is caused to display the information and the display item suchthat the information does not overlap, on the display screen, with thedisplay item.
 32. The method according to claim 30, wherein the displayscreen is caused to display the information, in response to aninstruction to the display screen on which the display item isdisplayed.
 33. The method according to claim 30, wherein the displayscreen is caused to display the information and the display item in asame screen displayed by an application.
 34. The method according toclaim 29, wherein the display screen is caused to display settinginformation indicating a print setting to be used for printing the imagewith the information.
 35. The method according to claim 34, wherein theprint setting includes a sheet size.
 36. The method according to claim29, wherein the short distance wireless communication is a near fieldcommunication (NFC).
 37. The method according to claim 29, wherein thedisplay screen is not caused to display the information, after the imageis designated by the user and before the image is settled as the printtarget.
 38. The method according to claim 29, wherein the second stateis a predetermined state in which the apparatus can communicate with thedevice by the short distance wireless communication.
 39. The methodaccording to claim 29, wherein the display screen is caused not todisplay the information when the state of the apparatus is being thefirst state, and to display the information when the state of theapparatus is being the second state.
 40. A non-transitorycomputer-readable storage medium that stores a program for causing anapparatus, which has a display screen and which causes a device to printan image: to change a state of the apparatus from a first state to asecond state when an image is settled as a print target by a user, thefirst state being a state in which the device us caused to print theimage even if the apparatus is put close to the device, and the secondstate being a state in which the apparatus can cause the device to printthe image if the apparatus is put close to the device; and to cause thedisplay screen not to display information for prompting the user to putthe apparatus close to the device, before the state of the apparatus ischanged from the first state to the second state, and to display theinformation after the state of the apparatus is changed from the firststate to the second state, wherein, after the apparatus in the secondstate performs a short distance wireless communication with the device,the device prints the image.